package cn.wolfcode.rbac.service;

import cn.wolfcode.rbac.domain.Customer;
import cn.wolfcode.rbac.domain.Customertransfer;
import cn.wolfcode.rbac.domain.Employee;
import cn.wolfcode.rbac.query.QueryObject;
import com.github.pagehelper.PageInfo;
    //客户列表
    public interface ICustomerService {
    //客户管理列表
    public PageInfo list(QueryObject qo);
    //失败客户列表
    public PageInfo fialList(QueryObject qo);
    //潜在客户列表
    public PageInfo potentialList(QueryObject qo);
    //客户池列表
    public PageInfo poolList(QueryObject qo);
    //正式客户列表
    public PageInfo officialList(QueryObject qo);
    //流失客户列表
    public PageInfo turnoverList(QueryObject qo);
     //添加，修改
    public abstract void saveOrUpdate(Customer customer);
        //修改客户状态
        public abstract  void updateStateById(Long customerId,Integer status);
        //吸纳
        //吸纳客户
        public int absorb(Customertransfer customertransfer);
    }
